﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace TasksManagerServices.Value_Objects.Services
{
    [DataContract(Namespace = "TaskManager.Service.ValueObjects", Name = "ServiceResponseBase")]
    [XmlRoot(Namespace = "TaskManager.Service.ValueObjects", ElementName = "ServiceResponseBase")]
    public class ServiceResponseBase
    {
        [DataMember]
        [XmlElement]
        public ServiceResponseStatusType ServiceResponseStatusType { get; set; }

        [DataMember]
        [XmlElement]
        public string ErrorMessage { get; set; }
    }
}
